<h1>Login</h1>

<% if @flash[:message] %><div id="message"><%= @flash[:message] %></div><% end %>
<% if @flash[:error] %><div id="error"><%= @flash[:error] %></div><% end %>

<%= form_tag :action => "process_login" %>
	<p>Username</p>
	<p><%= text_field "user", "username" %></p>
	<p>Password</p>
	<p><%= password_field "user", "password" %></p>
	<p><%= submit_tag "Login" %></p>
<%= end_form_tag %>